package getFromDBMethods;

import org.json.JSONException;

import JsonProcess.jOneBuddy;
import ServletProcess.CurrentUser;
import Storage.Buddy;

public class getCurrentUser {
	public static Buddy process(String currentPhoneNumber) throws JSONException {
		Buddy buddy = new Buddy();
		String buddyjson = CurrentUser.process(currentPhoneNumber);
		buddy = jOneBuddy.process(buddyjson);
		return buddy;
	}
}
